package com.example.design.shejimoshi.structure.decorator.core;

/**
 * @Description TODO
 * @date 2022/10/21 16:05
 * @Author liuzhihui
 * @Version 1.0
 */
public abstract class ShapeDecorator implements Shape {
    Shape shape;

    public ShapeDecorator(Shape shape) {
        this.shape = shape;
    }

    @Override
    public void draw() {
        shape.draw();
    }
}
